/*
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2024-04-18 12:05:17
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2024-04-18 12:29:44
 * @FilePath: \project\node-project\server\util\proxy.config.js
 * @Description: 
 */
/**
 * http反向代理
 * 可代理多个节点
 */

const server = {
    proxy: {
        '/api': {
            target: 'http://localhost:3000',
            changeOrigin: true,
        },
        'xxx' : {
            target: 'xxx',
            changeOrigin: true,
        }

    }
}

module.exports = server
